package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.BusinessDto;
import com.qk.entity.Business;

public interface BusinessService extends IService<Business> {
    //分页查询
    PageResult<Business> listBusiness(BusinessDto businessDto);
    //根据id查询回显
    Business getBusinessById(Integer id);
    //跟进商机
    void tankBusiness(Business business);
    //公海池
    PageResult<Business> listBusinessPool(BusinessDto businessDto);
    //移入公海
    void kickBack(Integer id);
    //转客户
    void turnCustomer(Integer id);
}
